package practice3;

public class ExerciseSystem {
    public static void main(String[] args) {
        int count = 50;
        int maxNum = 100;

        System.out.println("===== 50道加法习题 =====");
        ExerciseV2 additionExer = new ExerciseV2(count);
        additionExer.generateAdditions(maxNum);
        additionExer.print();

        System.out.println("===== 50道减法习题 =====");
        ExerciseV2 subtractionExer = new ExerciseV2(count);
        subtractionExer.generateSubtractions(maxNum);
        subtractionExer.print();

        System.out.println("===== 50道混合习题 =====");
        ExerciseV2 mixedExer = new ExerciseV2(count);
        mixedExer.generateMixed(maxNum);
        mixedExer.print();
    }
}
